package com.itheima.reggie;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

import java.net.InetAddress;
import java.net.UnknownHostException;

@Slf4j
@SpringBootApplication
@ServletComponentScan
public class ReggieApplication {
    public static void main(String[] args) throws UnknownHostException {
        SpringApplication.run(ReggieApplication.class,args);
        String ip = InetAddress.getLocalHost().getHostAddress();
        log.info("项目启动成功...");
        log.info("web端:http:"+ip+":9091/backend/page/login/login.html\t");
        log.info("app端:http:"+ip+":9091/front/page/login.html\t");
    }
}